package com.pinda.service;

import com.pinda.work.entity.PdTransportOrder;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 运单表 服务类
 * </p>
 *
 * @author lc
 * @since 2023-06-14
 */
public interface IPdTransportOrderService extends IService<PdTransportOrder> {

    boolean TransportOrderUpdate(PdTransportOrder pdTransportOrder);
    /**
     * 通过订单id获取运单信息
     *
     * @param orderId 订单id
     * @return 运单信息
     */
    PdTransportOrder findByOrderId(String orderId);
    /**
     * 根据订单id,修改状态为已签收
     * @param id
     */
    void UpdTransportOrder(String id);

    Boolean savePdTransportOrder(PdTransportOrder pdTransportOrder);

    PdTransportOrder selectById(String id);

}
